package easydst;

import java.rmi.Naming;

import exception.ResultException;

public class TestFacade {

	
	protected Result result;
	
	public TestFacade() throws ResultException{
		//TODO Despois verificar se precisa colocar a porta tb
		try {
			result = (Result) Naming.lookup( Constants.RMI_LOCALHOST + Constants.RESULT_NAME);
		} catch (Exception e) {
			throw new ResultException(e.getMessage());			
		}
	}
		
}
